<template>
    <div class="login-wrap">
        <ul class="tabs">
            <li class="item">企业登录</li>
            <li class="item active">个人登录</li>
        </ul>

        <div class="icon">
            <img src="./icon.png" width=64 alt="">
        </div>

        <div class="form">
            <input class="username" type="text" v-model="username" placeholder="账号/手机号/邮箱">
            <input class="password" type="password" v-model="password" placeholder="请输入密码">

            <span class="submit-btn">登录</span>

            <span class="reg-btn">注册</span>
        </div>
    </div>
</template>

<script>
export default {
    data () {
        return {
            username: '',
            password: ''
        };
    },

    methods: {
       
    }
};
</script>

<style lang="scss" scoped>
    .login-wrap {
        width: 240px;
        height: 300px;
        background: #fff;

        .tabs {
            overflow: hidden;
            .item {
                width: 50%;
                float: left;
                height: 24px;
                text-align: center;
                line-height: 24px;
                cursor: pointer;
                color: #53CAC3;
                &.active {
                    background: #53CAC3;
                    color: #fff;
                }
            }
        }
        .icon {
            text-align: center;
            padding: 29px 0 24px 0;
        }

        .form {
            text-align: center;
            .username {
                display: inline-block;
                width: 184px;
                height: 30px;
                margin-bottom: 12px;
                text-indent: 12px;
                border-radius: 2px;
                box-sizing: border-box;
                border: 1px solid #E8E8E8;
            }
            .password {
                display: inline-block;
                width: 184px;
                height: 30px;
                text-indent: 12px;
                margin-bottom: 20px;
                border-radius: 2px;
                box-sizing: border-box;
                border: 1px solid #E8E8E8;
            }
            .submit-btn {
                display: inline-block;
                width: 184px;
                height: 34px;
                text-align: center;
                line-height: 34px;
                background: #53CAC3;
                color: #fff;
                font-size: 14px;
                border-radius: 2px;
                margin-bottom: 6px;
                cursor: pointer;
            }

            .reg-btn {
                text-align: left;
                width: 184px;
                display: inline-block;
                color: #53CAC3;
                cursor: pointer;
            }
        }
        
    }
</style>